<div data-role="page">
    <div data-role="header">
        <a href="#" data-rel="back" class="ui-btn ui-icon-arrow-l ui-btn-icon-left ui-shadow">返回</a>
        <h1>保存图片到相册</h1>
    </div>
    <div role="main" class="ui-content">
        <p>请查看一下调用示例</p>
        <img src="https://cordova.apache.org/static/img/cordova_bot.png" width="100%"></img>
        <div>cordova-base64-to-gallery插件</div>
        <button  onclick="save()" class="ui-btn ui-btn-a">保存图片</button>
        <div id="progress1"></div>
        <div>cordova-save-image-gallery插件</div>
        <button  onclick="save2()" class="ui-btn ui-btn-a">保存图片</button>
        <div id="progress2"></div>
        <button  onclick="deleteFile()" class="ui-btn ui-btn-a">删除图片</button>
    </div>
</div>
